package com.hjy.core.transport.socket;

import com.hjy.api.HelloServiceImpl;
import com.hjy.core.annotation.ServiceScan;
import com.hjy.core.provider.DefaultServiceProvider;
import com.hjy.core.provider.ServiceProvider;
import com.hjy.core.transport.socket.server.SocketServer;

@ServiceScan("com.hjy")
public class TestServer {
    public static void main(String[] args) {
        SocketServer rpcServer = new SocketServer("127.0.0.1",9000);
        rpcServer.start();
    }
}
